/*
* Copyright 2008-2023 dexian.vip. All rights reserved.
* Support: http://www.dexian.vip
* License: http://www.dexian.vip/license
*/

package ${dTO.basePackage};

import vip.dexian.core.base.bean.BaseDTO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
* ${modelMap.entityComment!} DTO
*
* @author ${modelMap.author} ${modelMap.now}
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
@EqualsAndHashCode (callSuper = true)
// TODO 代码自动生成与${modelMap.now}，代码生成完成后，请删除该TODO语句
public class ${modelMap.simpleClassName}DTO extends BaseDTO
<Long> {

    <#list modelMap.fields as field>
        /**
        * ${field.comment!}
        */
        <#if field.isEntity>
            @ToString.Exclude
            @EqualsAndHashCode.Exclude
        </#if>
        private ${field.javaType}<#if field.isEntity>DTO</#if> ${field.name};

    </#list>
    }